package com.ws.domain.enumeration;

import com.fasterxml.jackson.annotation.JsonValue;
import com.ws.core.handle.BaseEnum;

/**
 * Created by WS on 2018/1/25.
 */
public enum SexEnum implements BaseEnum<String> {
    MALE("M","男"),
    FEMALE ("F","女");

    private String code;
    private String name;

    SexEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }
    @Override
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
